import 'package:flutter/material.dart';
import 'package:my_tool/config/configs.dart';
import 'package:my_tool/screens/home.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'cy工具大合集',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        scaffoldBackgroundColor: Colors.transparent,
        appBarTheme: const AppBarTheme(
          backgroundColor: Colors.transparent,
          elevation: 0,
          actionsIconTheme: IconThemeData(
            color: Colors.white
          )
        )
      ),
      home: Container(
        decoration: const BoxDecoration(
          gradient: LinearGradient(
            colors: morningColors
          )
        ),
        child: const HomePage(),
      ),
    );
  }
}